
<#include "header.ftl">
  <!-- 内容区域 -->
<div class="tpl-content-wrapper">
 <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <ol class="am-breadcrumb">
						  <li><a href="${Domain}my" class="am-icon-home">首页</a></li>
						  <li><a href="${Domain}my/medical">医学统计</a></li>
						  <li class="am-active">统计详情</li>						  
						</ol>
                    </div>
                  	<#include "../common/return.ftl">
                </div>
  </div>
       <div class="row-content am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-fl">${disease.name}医学统计详情</div>

                            </div>
                            <div class="widget-body  am-fr">

                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                                    
                                </div>
                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                                    <div class="am-form-group tpl-table-list-select">
                                      
                                    </div>
                                </div>
                                <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
                                	
                                </div>

                                <div class="am-u-sm-12">
                                
                                <div class="am-tabs" data-am-tabs="{noSwipe: 1}" id="doc-tab-demo-1">
								  <ul class="am-tabs-nav am-nav am-nav-tabs">
								    <li class="am-active"><a href="javascript: void(0)">摘要</a></li>
								    <li><a href="javascript: void(0)">治疗</a></li>
								    <li><a href="javascript: void(0)">随访</a></li>
								  </ul>
								
								  <div class="am-tabs-bd">
								    <div class="am-tab-panel am-active">
								      <table width="100%" class="<#include "../common/table-class.ftl">"  >
                                        <thead>
                                            <tr>
                                                
                                                <th>疾病</th>
                                                <th>患者数</th>
                                                <th>治疗次数</th>
                                                <th>随访次数 </th>
                                                <th>治愈率</th>                                              
                                                <th>有效率</th>
                                                <th>复发率</th>
                                                <th>死亡率 </th>
                                                <th>随访接受率</th>
                                                <th>生成率一年</th> 
                                                 <th>生成率三年</th>                                            
                                               <th>生成率五年</th> 
                                               <th>生成率十年 </th>
                                              
                                            </tr>
                                        </thead>
                                        <tbody>
                                      
                                            <tr >
                                              
                                                <td>${disease.name}</td>
                                                <td>
                                                <#if medical.patientcount=0>-<#else>${medical.patientcount}</#if>
												</td>
                                                <td><#if medical.curecount=0>-<#else> ${medical.curecount}</#if>
												</td> 
                                                <td> <#if medical.accesscount=0>-<#else>${medical.accesscount}</#if>
												</td>                                              
                                                 <td><#if medical.curerate=0>-<#else>${medical.curerate?string("0.##")}%</#if></td> 
                                                <td><#if medical.effectiverate=0>-<#else>${medical.effectiverate?string("0.##")}%</#if></td>
												<td><#if medical.recurrencerate=0>-<#else>${medical.recurrencerate?string("0.##")}%</#if></td>
                                                <td><#if medical.mortality=0>-<#else>${medical.mortality?string("0.##")}%</#if></td>
                                                <td><#if medical.accessrate=0>-<#else>${medical.accessrate?string("0.##")}%</#if></td>
                                                <td><#if medical.generationrate_n1=0>-<#else>${medical.generationrate_n1?string("0.##")}%</#if></td>
                                                <td><#if medical.generationrate_n3=0>-<#else>${medical.generationrate_n3?string("0.##")}%</#if></td>
                                                <td><#if medical.generationrate_n5=0>-<#else>${medical.generationrate_n5?string("0.##")}%</#if></td>
                                                <td><#if medical.generationrate_n10=0>-<#else>${medical.generationrate_n10?string("0.##")}%</#if></td>
   
                                            </tr>
                                         
                                        </tbody>
                                    </table>
								      
								       <table width="100%" class="<#include "../common/table-class.ftl">"  >
                                        <thead>
                                            <tr>
                                                
                                                <th></th>
  												<th>总数</th>
  												<th>日增量(昨日)</th>
  												<th>周增量(上周)</th>
  												<th>月增量(上月)</th>
  												
  												
                                            </tr>
                                        </thead>
                                        <tbody>
                                      
                                            <tr >
                                                 <td>治疗</td>
                                                 <td>${cure.cure_total}</td>
                                                 <td>${cure.cure_day}(${cure.cure_day_last})</td>
                                                 <td>${cure.cure_week}(${cure.cure_week_last})</td>
                                                 <td>${cure.cure_month}(${cure.cure_month_last})</td>
                                            </tr>
                                           <tr >
                                                 <td>随访</td>
                                                 <td>${access.access_total}</td>
                                                   <td>${access.access_day}(${access.access_day_last})</td>
                                                 <td>${access.access_week}(${access.access_week_last})</td>
                                                 <td>${access.access_month}(${access.access_month_last})</td>
                                            </tr>
                                        </tbody>
                                    </table>
								      
								    </div>
								    <div class="am-tab-panel">
					
                                
                                <div class="am-scrollable-horizontal">
                                
                                    <table width="100%" class="<#include "../common/table-class.ftl">"  >
                                        <thead>
                                            <tr>
                                               <th >就诊编号</th>
                                                <th>疾病</th>
                                                <th>姓名</th>
                                                <th>身份证</th>
                                                <th>年龄</th>
                                                <th>性别</th>                                              
                                                <th>确诊时间</th>
                                                <th>开始治疗</th>
                                                <th>结束时间 </th>
                                                <th>随访问卷</th>
                                                <th>随访周期</th> 
                                                 <th>最近随访时间</th>  
                                                 <!--                                          
                                               <th>下次近随访时间</th> -->
                                               <th>状态</th>
                                                <th>创建时间</th>
                                               
                                            </tr>
                                        </thead>
                                        <tbody>
                                        <#list curepage.list as item>
                                            <tr >
                                               <td>${item.number}</td>
                                                <td>${item.dname}</td>
                                                <td>${item.name}</td>
                                               <td>${freemarker.Simple(item.no)}</td> 
                                                <td>${freemarker.Age(item.birthday)}</td>                                              
                                                 <td><#switch item.gender>
										           <#case 0> 未知 <#break>
										           <#case 1>男<#break>
										           <#case 2>女<#break>
										           <#default>未知
										        	</#switch> </td> 
                                                <td>${item.tdate}</td>
												<td>${item.startdate}</td>
                                                <td>${item.enddate}</td>
                                                <td>${item.sname}</td>
                                                <td>${item.cycle}</td>
                                                <td>${item.lfdate}</td>
                                                <!--  
                                                <td>${item.nfdate}</td>-->
                                                <td><#switch item.type>
										           <#case 0> <span class="am-text-danger">治疗中</span> <#break>
										           <#case 1><span class="am-text-success">治疗完成</span><#break>
										           <#case -1><span class="am-text-default">失效</span><#break>
										           <#default><span class="am-text-danger">未知</span>
										        	</#switch></td>
                                                <td>${item.time?string("yyyy-MM-dd")}</td>
                                               
                                            </tr>
                                            </#list>
                                        </tbody>
                                    </table>
                                    </div>
                               
                              
                             
								    </div>
								    <div class="am-tab-panel">
								       
                                <div class="am-scrollable-horizontal">
                                
                                    <table width="100%" class="<#include "../common/table-class.ftl">"  >
                                        <thead>
                                            <tr>
                                                <th width="80px">编号</th>
                                                <th>身份证</th>
                                                <th>名称</th> 
                                                 <th>性别</th>
                                                <th>年龄</th> 
                                                <th>状态</th> 
                                                <th>进度</th>  
                                                <th>打开次数</th>  
                                                <th>用时</th>                                        
                                              <th>问卷</th>
                                              <th>创建时间</th>
                                              
                                            </tr>
                                        </thead>
                                        <tbody>
                                        <#list accesspage.list as item>
                                            <tr >
                                                 <td>${item.id}</td>
                                                  <td>${freemarker.Simple(item.no)}</td> 
                                                <td>${item.name}</td> 
                                                
                                                <td><#switch item.gender>
										           <#case 0> 未知 <#break>
										           <#case 1>男<#break>
										           <#case 2>女<#break>
										           <#default>未知
										        	</#switch> </td>  
                                                <td>${freemarker.Age(item.birthday)}</td>
                                                <td><#switch item.state>
										           <#case 0>创建 <#break>
										           <#case 1>进行<#break>
										           <#case 2>完成<#break>
										           <#case -1>失效<#break>
										           <#default>未知
										        	</#switch> </td>
										        	 
                                                  <td>
                                                  <#if item.total!=0>
                                                  ${item.speed*100/item.total}%(${item.speed}/${item.total})
                                                  <#else>
													-
												</#if>
												</td>                                        
                                                <td>${item.opencount}</td>
                                                <td>${item.usetime/1000}秒</td>
                                                <td>${item.pname}</td>
                                                <td>${item.time}</td>
                                               
                                            </tr>
                                            </#list>
                                        </tbody>
                                    </table>
                                    </div>
								    </div>
								  </div>
								</div>
                                
                                
                                </div>
                              
                               
                            </div>
                        </div>
                    </div>
                </div>
            </div>
       
       
       
       
 </div>             
<#include "footer.ftl">